package com.example.xpvideo.entity.req;





import com.example.xpvideo.annotations.ListValue;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author : 洪俊新
 * @date : 2021/3/10 10:20
 * @module
 */
public class ReplyList {
    /**
     * 查询的页数
     * isnull 0
     */
    private Integer page;
    /**
     * 当前页展示数据的数量
     * isnull 0
     */
    private Integer size;
    /**
     * 目标id，如帖子id
     */
    @NotEmpty
    private String targetId;

    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }

}
